<template>
  <s-layout class="set-wrap" title="拼币规则" :bgStyle="{ color: '#FFF' }">
    <view class="ss-p-30"><mp-html class="richtext" :content="state.content"></mp-html></view>
  </s-layout>
</template>

<script setup>
  import { onLoad } from '@dcloudio/uni-app';
  import { reactive } from 'vue';
  import sheep from '@/sheep';

  const state = reactive({
    title: '',
    content: '',
  });

  async function getRichTextContent() {
    const res = await sheep.$api.goods.getSignInfo({
    });
    if (res.code === 1) {
      state.content = res.data.guize_content;
    }
  }
  onLoad((options) => {
    getRichTextContent();
  });
</script>

<style lang="scss" scoped>
  .set-title {
    margin: 0 30rpx;
  }

  .richtext {
  }
</style>
